package cn.rkylin.oms.warehouseDocking.dao.qimen;

import cn.rkylin.oms.warehouseDocking.vo.qimen.GoodsSynchronize;
import cn.rkylin.oms.warehouseDocking.vo.qimen.ReturnStockInCreate;
import cn.rkylin.oms.warehouseDocking.vo.qimen.ReturnStockInSkuCreate;

import java.util.List;
import java.util.Map;

/**
 * 奇门退货入库单创建数据访问层接口
 *
 * @author fengwang
 * @created 2017年11月7日
 */
public interface IReturnStockInCreateDAO {

    /**
     * 奇门获取需要创建的退货入库单ID
     *
     * @param reqMap
     * @return
     * @throws Exception
     */
    public List<ReturnStockInCreate> selectInfoReturnStockInIdByPrjIdAndStorId(Map<String, Object> reqMap) throws Exception;

    /**
     * 奇门获取需要创建的退货入库单信息
     *
     * @param reqMap
     * @return
     * @throws Exception
     */
    public ReturnStockInCreate selectInfoReturnStockInByPrjIdAndStorId(Map<String, Object> reqMap) throws Exception;

    /**
     * 奇门获取需要创建的退货入库单商品信息
     *
     * @param reqMap
     * @return
     * @throws Exception
     */
    public List<ReturnStockInSkuCreate> selectInfoReturnStockInSkuByStockId(Map<String, Object> reqMap) throws Exception;

    /**
     * 获取系统规格 即时成本价
     *
     * @param skuId
     * @return
     * @throws Exception
     */
    public GoodsSynchronize selectGoodsSkuCostBySkuId(String skuId) throws Exception;
}
